package com.qj.yantaishan.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;

/**
 * 店铺新闻表(ShanglalaStoreNews)实体类
 *
 * @author makejava
 * @since 2022-09-28 10:31:33
 */
public class StoreNews implements Serializable {
    private static final long serialVersionUID = 171626478936449039L;

    @TableId(type = IdType.AUTO)
    private Integer id;

    private Integer storeId;
    /**
     * 分类ID
     */
    private Integer catId;
    /**
     * 标题
     */
    private String title;
    /**
     * 封面图
     */
    private String cover;
    /**
     * 新闻摘要
     */
    @TableField(value = "abstract")
    private String newsAbstract;
    /**
     * 内容
     */
    private String content;
    /**
     * 作者
     */
    private String author;
    /**
     * 浏览量
     */
    private Integer views;
    /**
     * 0正常 1删除
     */
    private Integer isDelete;

    private Integer updateTime;

    private Integer addTime;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getStoreId() {
        return storeId;
    }

    public void setStoreId(Integer storeId) {
        this.storeId = storeId;
    }

    public Integer getCatId() {
        return catId;
    }

    public void setCatId(Integer catId) {
        this.catId = catId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getCover() {
        return cover;
    }

    public void setCover(String cover) {
        this.cover = cover;
    }

    public String getAbstract() {
        return newsAbstract;
    }

    public void setAbstract(String newsAbstract) {
        this.newsAbstract=newsAbstract;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public Integer getViews() {
        return views;
    }

    public void setViews(Integer views) {
        this.views = views;
    }

    public Integer getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }

    public Integer getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Integer updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getAddTime() {
        return addTime;
    }

    public void setAddTime(Integer addTime) {
        this.addTime = addTime;
    }

}

